package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Contact;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IContactService {
    int saveOrUpdate(Contact record);

    Contact selectByPrimaryKey(Long id);

    List<Contact> selectAll();

    PageResult query(QueryObject qo);

    void delete(Long id);
}
